package com.zjitc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/19 14:42
 * @description:
 */
@Controller
public class StreamWriteController {

  @RequestMapping("/stream")
  @ResponseBody//以流的方式返回
  public String streamWrite(){
    return "get message with stream";
  }

}
